

import {
    toast,
    promptBox
} from 'nc-lightapp-front';

import deepCopy from 'src/hrpub/common/utils/deep-copy';
import print from 'src/hrpub/common/utils/print';
import exportHtml from 'src/hrpub/common/utils/exportHtml';

export default class CommonAction {

    toast = (obj) => {
        toast(obj);
    };

    promptBox =  (obj) => {
        promptBox(obj);
    };

    deepCopy = (...args) => {
        return deepCopy(...args);
    };

    print = (...args) => {
        print(...args);
    };

    exportHtml = (...args) => {
        exportHtml(...args);
    }

}